home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-09-01 | 1.9 KB | 70 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="7"
- "COUNT"="3"
- "UIPATH 1"="System\Advanced Performance Settings"
- "UIPATH 2"="Hardware\CPU"
- "NAME"="Windows 9x/ME CPU Boost"
- "VERSION"="2.03"
- "OSVERSION"="10101"
- "LANGUAGE"="VBScript"
- "WARNING"="1"
- "TEXT 1"="Normal Priority (Default)"
- "TEXT 2"="Fastest Priority"
- "TEXT 3"="REALTIME Priority [WARNING: only for power users!]"
- "DESCRIPTION 1"="This setting will assign any started program the above selected priority by default."
- "DESCRIPTION 2"="This can speed up programs very well."
- "DESCRIPTION 3"="NOTE: If you system LOCKS after restarting, please start using SAFE MODE and activate the (Default) entry again."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to axcel216@aol.com for the tip and CptSiskoX for his help!"
- "COMMENT 2"="Many thanks also to Thomas Tompkins (http://www.webcom.com/highwebs/thomast/)"
-
-
- sC="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\BIOS\"
- sP="HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\BIOS\CPUPriority" 'DW
-
- Sub Plugin_Initialize
- If RegPathExists(sC) then
- i=RegReadValue(sp)
- if IsEmpty(i)=true then
- Call SetUIElement(1,true)
- else
- if i=1 then
- Call SetUIElement(2,true)
- else
- if i=0 then
- Call SetUIElement(3,true)
- end if
- end if
- end if
- else
- Call Disable
- end if
-
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(1)=true then
- if RegValueExists(sP) then
- Call RegDeleteValue(sp)
- end if
- else
- if GetUIElement(2)=true then
- Call RegWriteValue(sp,"1",2)
- else
- Call RegWriteValue(sp,"0",2)
- end if
- end if
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-